//
//  XDProblemTimeDetailCell.m
//  XDEducation
//
//  Created by 星道 on 17/5/15.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "XDProblemTimeDetailCell.h"

@implementation XDProblemTimeDetailCell
{
    IBOutlet UILabel *_Title;
    IBOutlet UILabel *_ErrCount;
}



- (void)setModel:(XDErrProblemFuXi *)Model
{
    _Model = Model;
    _Title.text = Model.knowledge_name;
    _ErrCount.text = [NSString stringWithFormat:@"错题数目:%@",Model.error_count];
}




- (IBAction)ClickButton:(UIButton *)sender
{
    if (self.ClickButton)
    {
        self.ClickButton (sender);
    }
}
@end
